#ifndef _GOL1_H_
#define _GOL1_H_


#define WIN32_LEAN_AND_MEAN
#define CINTERFACE

#define __GRAPH

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

#include "windows.h"

//#include "d3d9.h"
//#include "dx.h"
//#include "shd.h"

extern LARGE_INTEGER nFreq;
extern LARGE_INTEGER nCount;

extern int nNumFrames;
extern float fAvgFPS;

void OpenConsole( void );

void AppDone(HWND hWnd);

void con_trace( const char* s);

#ifdef _DEBUG
#define trace(s) con_trace(s)
#else
#define trace(s)
#endif

#endif //_GOL1_H
